import { EntitySchema } from '@mikro-orm/core';

export class ImsYzdKpPoster {
  id!: number;
  course?: unknown;
  dis?: unknown;
  good?: unknown;
  enroll?: unknown;
  uniacid?: number;
  article?: unknown;
  annex?: unknown;
  daily?: unknown;
}

export const ImsYzdKpPosterSchema = new EntitySchema({
  class: ImsYzdKpPoster,
  properties: {
    id: { primary: true, type: 'number' },
    course: { type: 'unknown', columnType: 'longtext', nullable: true },
    dis: { type: 'unknown', columnType: 'longtext', nullable: true },
    good: { type: 'unknown', columnType: 'longtext', nullable: true },
    enroll: { type: 'unknown', columnType: 'longtext', nullable: true },
    uniacid: { type: 'number', nullable: true },
    article: { type: 'unknown', columnType: 'longtext', nullable: true },
    annex: { type: 'unknown', columnType: 'longtext', nullable: true },
    daily: { type: 'unknown', columnType: 'longtext', nullable: true },
  },
});
